import React, {Component} from 'react';
import {Button} from 'react-native';

export default class ButtonComponent extends Component {
  render() {
    const {children, ...rest} = this.props;
    return <Button {...rest}>{children}</Button>;
  }
}
